<%--
  Created by IntelliJ IDEA.
  User: lxw
  Date: 2017/8/17
  Time: 20:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>登录页</title>
</head>
<body>
<h3 style="text-align:center">欢迎登陆</h3>
<div>
    <label>
        用户账号:
        <input type="text" id="un"/>
    </label>
    <br />
    <label>
        用户密码:
        <input type="password" id="pw"/>
    </label>
    <br />
    <input type="button" value="登陆" onclick="login()"/>
</div>
<script type="text/javascript" src="<%=basePath%>static/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="<%=basePath%>static/login.js"></script>
</body>
</html>
